package com.android.universydroid.view;

import com.android.universydroid.R;
import com.android.universydroid.R.layout;
import com.android.universydroid.bean.TOTeste;
import com.android.universydroid.framework.DALBase;
import com.android.universydroid.framework.DBHelper;
import com.android.universydroid.framework.SQLType;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class Splash extends Activity {

	private Button btnSave;
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home);
		  
        /*btnSave = (Button) findViewById(R.id.btnSave);    
		btnSave.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {

				TOTeste to = new TOTeste();
				to.id = 1;
				to.texto = "teste";
				to.valor = 10;

				long result = new DALBase(getBaseContext()).Execute(to,
						SQLType.INSERT);

				Toast.makeText(Splash.this, "Registros afetados: "
						+ String.valueOf(result), Toast.LENGTH_LONG).show();
			}
		});*/
	}
}